<template>
  <div>
    <div class="header">
      <div class="user">
        <el-avatar :size="40" :src="userMsg.avatar">
          <img :src="noLoginUserAvatar" />
        </el-avatar>
      </div>
    </div>
  </div>
</template>

<script>
import noLoginUserAvatar from "@/assets/user/noLoginUserAvatar.png"
export default {
  data() {
    return {
      noLoginUserAvatar: noLoginUserAvatar
    }
  }
}
</script>

<style lang="less" scoped>
.header {
  height: 150px;
}
.user {
  padding:5px 20px;
  height: 74px;
  overflow: hidden;
}
</style>